<div class="panel">
	<div style="background:white" class="panel-title"><i class="icon-folder-close-alt"></i> <?=$itemnowname?> <a onclick="opennewfilelist()" href="javascript:;" style="float:right">更多&gt;&gt;</a></div>
	<div id="newfilelist"></div>
 </div>
 
<script>

homeobject.newfile_showdata=function(da){
	var str='',i,col,d,fsts;
	for(i=0;i<da.length;i++){
		col = '';
		d = da[i];
		if(!isempt(d.thumbpath)){
			fsts= '<img src="'+js.fileuppath(d.thumbpath)+'" onclick="js.viewimg(this)" width="20" height="20" align="absmiddle">';
		}else{
			var lxs = js.filelxext(d.fileext);
			fsts= '<img src="'+FILE_URL+'images/fileicons/'+lxs+'.gif"  height="20" align="absmiddle">';
		}

		
		str+='<div class="panel-list">'+fsts+' '+d.filename+' <span style="font-size:12px;color:#aaaaaa">('+d.optdt+')</span> <a href="javascript:;" onclick="js.fileopt(\''+d.filenum+'\',0)">[预览]</a></div>';
	}
	$('#newfilelist').html(str);
}
opennewfilelist = function(){
	ind.clickmenu(1,-1)
}
</script>
